using System;
using System.Collections.ObjectModel;

namespace Phoenix.Diagnostics
{
    public class TraceAppenderCollection : Collection<ITraceListener>
    {
        public void Add(Action<string> writeLine)
        {
            Add(new DelegateListener(writeLine));
        }
    }
}